const TOKENKEY = 'token_key';

export const setToken = function (token: string) {
    localStorage.setItem(TOKENKEY, token);
};

export const getToken = function () {
    return localStorage.getItem(TOKENKEY);
};

export const deleteToken = function () {
    localStorage.removeItem(TOKENKEY);
};